package com.github.mapper;

import com.github.bean.AdminUser;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface AdminUserMapper {
    AdminUser getAdminUser(String account);
    boolean addAdminUser(String account, String password);
    boolean delAdminUser(String account);
    // 新增：获取所有后台用户
    List<AdminUser> getAllAdminUsers();
}
